home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010306-20010921
/
000354_fdc@watsun.cc.columbia.edu_Sat Sep 1 12:48:19 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
45 lines
Article: 12738 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: if exist
Date: 1 Sep 2001 16:48:09 GMT
Organization: Columbia University
Lines: 28
Message-ID: <9mr3g9$43f$1@newsmaster.cc.columbia.edu>
References: <9mp7sp0vm6@enews4.newsguy.com> <9mphnl$2jn$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 999362889 4207 128.59.39.2 (1 Sep 2001 16:48:09 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 Sep 2001 16:48:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12738
In article <9mphnl$2jn$1@newsmaster.cc.columbia.edu>,
Jeffrey Altman <jaltman@watsun.cc.columbia.edu> wrote:
: In article <9mp7sp0vm6@enews4.newsguy.com>,
: Grinder <grinder@no.spam.maam.com> wrote:
: : I'm re-writing an mskermit script for use with kermit-95. It's
: : gone very smoothly, with the exception of one command. Here's
: : the relevant portion of the script:
: : _____________
: :
: : :CHECKCLAIM
: : pause 1
: : if exist c:\projects\rlisys\rlinsf31\cache\queue\*.zip goto
: : SENDCLAIM
: : goto SENDZERO
:
: IF EXIST does not work with wildcards. Instead use
:
: IF \Ffiles(*.zip) GOTO SENDCLAIM
:
: \Ffiles() returns a numeric value. 0 is treated as FALSE,
: any other value is TRUE.
:
Since this question keeps coming up, a new section on the IF command has
been added to the Kermit Script Portability Reference:
http://www.columbia.edu/kermit/scriptref.html
- Frank